package io.renren.modules.noc.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单
 *
 * @author zgw, 995115107@qq.cm
 * @since 3.0 2022-04-23
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class TOrderExcel {
    @ExcelProperty(value = "主键", index = 0)
    private Long id;
    @ExcelProperty(value = "订单编号，大写字母D+时间戳+两位随机数", index = 1)
    private String orderCode;
    @ExcelProperty(value = "会员id", index = 2)
    private Long accountId;
    @ExcelProperty(value = "公司名称", index = 3)
    private String company;
    @ExcelProperty(value = "订单总额", index = 4)
    private BigDecimal amount;
    @ExcelProperty(value = "实际付款金额", index = 5)
    private BigDecimal payAmount;
    @ExcelProperty(value = "订单状态，参考EmOrderStatus类", index = 6)
    private Integer orderStatus;
    @ExcelProperty(value = "分期数，1表示全款", index = 7)
    private Integer installment;
    @ExcelProperty(value = "分期进度", index = 8)
    private Integer progress;
    @ExcelProperty(value = "下单时间", index = 9)
    private Date createTime;
    @ExcelProperty(value = "备注", index = 10)
    private String remark;
    @ExcelProperty(value = "取消原因", index = 11)
    private String cancelReason;
}